<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Aerospace Science Website</title>
  <link href="https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap" rel="stylesheet">
  <style>
    body {
      margin: 0;
      font-family: 'Roboto', Arial, sans-serif;
      background: linear-gradient(135deg, #121212 60%, #1A237E 100%);
      color: #F5F5F5;
    }
    header {
      background: #1A237E;
      color: #F5F5F5;
      padding: 0.5em 2em;
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: sticky;
      top: 0;
      z-index: 100;
      box-shadow: 0 2px 8px #12121288;
    }
    .logo {
      font-size: 2em;
      font-weight: bold;
      letter-spacing: 2px;
    }
    nav {
      display: flex;
      gap: 1.5em;
    }
    nav a {
      color: #F5F5F5;
      text-decoration: none;
      font-weight: 500;
      padding: 0.5em 1em;
      border-radius: 20px;
      transition: background 0.2s;
    }
    nav a:hover {
      background: #B0BEC5;
      color: #1A237E;
    }
    .search-bar {
      margin-left: 2em;
      padding: 0.3em 1em;
      border-radius: 20px;
      border: none;
      font-size: 1em;
      background: #F5F5F5;
      color: #1A237E;
    }
    main {
      max-width: 1200px;
      margin: 2em auto;
      padding: 1em;
      background: rgba(18,18,18,0.85);
      border-radius: 16px;
      box-shadow: 0 4px 24px #1A237E44;
    }
    section {
      margin-bottom: 2em;
    }
    h1, h2, h3 {
      color: #B0BEC5;
      margin-top: 0.5em;
    }
    .carousel {
      display: flex;
      overflow-x: auto;
      gap: 1em;
      padding: 1em 0;
    }
    .carousel img {
      height: 180px;
      border-radius: 12px;
      box-shadow: 0 2px 8px #1A237E88;
      object-fit: cover;
    }
    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5em;
    }
    .card {
      background: #1A237E;
      border-radius: 12px;
      padding: 1em;
      box-shadow: 0 2px 8px #12121288;
      color: #F5F5F5;
    }
    .btn {
      background: linear-gradient(90deg, #1A237E, #121212);
      color: #F5F5F5;
      border: none;
      border-radius: 20px;
      padding: 0.5em 1.5em;
      font-size: 1em;
      cursor: pointer;
      margin-top: 1em;
      transition: box-shadow 0.2s;
    }
    .btn:hover {
      box-shadow: 0 0 12px #B0BEC5;
      background: #B0BEC5;
      color: #1A237E;
    }
    footer {
      background: #121212;
      color: #B0BEC5;
      text-align: center;
      padding: 2em 1em 1em 1em;
      border-top: 2px solid #1A237E;
      margin-top: 2em;
    }
    .social-icons img {
      width: 32px;
      margin: 0 0.5em;
      vertical-align: middle;
    }
    @media (max-width: 700px) {
      main { padding: 0.5em; }
      .carousel img { height: 120px; }
      nav { flex-direction: column; gap: 0.5em; }
    }
  </style>
</head>
<body>
  <header>
    <div class="logo">Aerospace Science</div>
    <nav>
      <a href="#home">Home</a>
      <a href="#knowledge">Basic Knowledge</a>
      <a href="#events">Historical Events</a>
      <a href="#tech">Cutting-edge Technologies</a>
      <a href="#interactive">Interactive</a>
      <a href="#gallery">Image/Video Gallery</a>
    </nav>
    <input class="search-bar" type="text" placeholder="Search..." id="searchInput" oninput="searchSite()">
  </header>
  <main>
    <!-- Homepage Section -->
    <section id="home">
      <h1>Welcome to Aerospace Science</h1>
      <p>Explore the wonders of aerospace technology, history, and innovation. This site is designed for educators, students, and the general public, featuring authoritative content, interactive modules, and stunning visuals inspired by NASA and SpaceX.</p>
      <div class="carousel">
        <img src="https://www.nasa.gov/wp-content/uploads/2024/10/black-hole-corona.jpg?w=1024" alt="IXPE Black Hole" title="IXPE Black Hole">
        <img src="https://assets.science.nasa.gov/dynamicimage/assets/science/cds/citizen-science/highlights/2025/gigantic-jet-event.png?w=1024" alt="Gigantic Jet Event" title="Gigantic Jet Event">
        <img src="https://assets.science.nasa.gov/dynamicimage/assets/science/missions/webb/science/2025/webb-STScI-01K0FMETMS0VXZ8BNRCB205DKK-5K.tif?w=1024" alt="Webb Telescope" title="Webb Telescope">
        <img src="https://www.nasa.gov/wp-content/uploads/2025/08/snsn.jpg?w=1024" alt="Roman Telescope" title="Roman Telescope">
      </div>
    </section>
    <!-- Basic Knowledge Section -->
    <section id="knowledge">
      <h2>Basic Aerospace Knowledge</h2>
      <div class="grid">
        <div class="card">
          <h3>Mars Rover Landing Technology</h3>
          <p>NASA's Curiosity rover used the "sky crane maneuver" for safe landing, showcasing innovative spacecraft descent methods.</p>
          <a href="https://www.nasachina.cn/pos/30988.html" target="_blank">Learn more</a>
        </div>
        <div class="card">
          <h3>Phases of the Moon & Astronomy</h3>
          <p>Track lunar phases with DIY calendars and calculators, understanding basic astronomy terms like new moon, full moon, and waxing crescent.</p>
          <a href="https://www.nasachina.cn/pos/28340.html" target="_blank">DIY Guide</a>
        </div>
        <div class="card">
          <h3>Asteroid Sampling & Return</h3>
          <p>OSIRIS-REx mission collected samples from asteroid Bennu, involving launch, orbital transfer, and sample return capsule re-entry.</p>
          <a href="https://www.nasachina.cn/pos/27158.html" target="_blank">Mission Details</a>
        </div>
        <div class="card">
          <h3>Near-Earth Object Monitoring</h3>
          <p>NASA's 3D visualization tool "Asteroid Eyes" monitors asteroids and comets, teaching concepts like NEOs and solar system orbits.</p>
          <a href="https://www.nasachina.cn/pos/18302.html" target="_blank">Explore Tool</a>
        </div>
        <div class="card">
          <h3>Spacecraft & Scientific Instruments</h3>
          <p>COWVR and TEMPEST instruments on the ISS enable atmospheric remote sensing and data collection.</p>
          <a href="https://www.nasachina.cn/pos/18525.html" target="_blank">Instrument Info</a>
        </div>
        <div class="card">
          <h3>Planetary Exploration & Remote Sensing</h3>
          <p>Psyche mission explores metal-rich asteroids using radar and remote sensing technologies.</p>
          <a href="https://www.nasachina.cn/pos/18508.html" target="_blank">Mission Overview</a>
        </div>
        <div class="card">
          <h3>Earth's Magnetic Field & Space Environment</h3>
          <p>Earth's magnetic field and the Moon help protect our atmosphere from solar wind and coronal mass ejections.</p>
          <a href="https://www.nasachina.cn/pos/12076.html" target="_blank">Read More</a>
        </div>
        <div class="card">
          <h3>Satellite Remote Sensing & Weather Observation</h3>
          <p>Satellites use active sensors to observe clouds, sea ice, and weather changes, explaining terms like remote sensing and meteorological satellites.</p>
        </div>
      </div>
    </section>
    <!-- Historical Events Section -->
    <section id="events">
      <h2>Major Aerospace Historical Events</h2>
      <div class="grid">
        <div class="card">
          <h3>China's Manned Space Program: Three-Step Strategy</h3>
          <p><strong>Date:</strong> 1992-09-21<br>Official launch of China's manned space program, establishing the "three-step" development strategy.</p>
          <a href="https://www.cmse.gov.cn/xwzx/202209/t20220921_50802.html" target="_blank">Source</a>
        </div>
        <div class="card">
          <h3>Shenzhou 5 Manned Spacecraft Launch</h3>
          <p><strong>Date:</strong> 2003-10-15<br>China's first manned spacecraft, Shenzhou 5, successfully launched. Astronaut Yang Liwei became the first Chinese in space.</p>
          <a href="https://www.cmse.gov.cn/xwzx/202209/t20220921_50802.html" target="_blank">Source</a>
        </div>
        <div class="card">
          <h3>Shenzhou 7: First Spacewalk</h3>
          <p><strong>Date:</strong> 2008-09-25<br>China's astronauts performed their first spacewalk, breaking new ground in extravehicular activity technology.</p>
        </div>
        <div class="card">
          <h3>Tianhe Core Module Launch</h3>
          <p><strong>Date:</strong> 2021-04-29<br>Launch of the Tianhe core module, marking the start of China's space station assembly.</p>
        </div>
        <!-- More events can be added similarly -->
      </div>
    </section>
    <!-- Cutting-edge Technologies Section -->
    <section id="tech">
      <h2>Cutting-edge Aerospace Technologies</h2>
      <div class="grid">
        <div class="card">
          <h3>X-59 Quiet Supersonic Technology (Quesst)</h3>
          <p>Special airframe design and sonic boom management reduce noise to a gentle "thump" at ground level.<br><strong>Application:</strong> Future commercial supersonic jets.<br><strong>Source:</strong> NASA</p>
        </div>
        <div class="card">
          <h3>Advanced Air Mobility (AAM)</h3>
          <p>Electric propulsion, vertical takeoff/landing, and 5G enable smart, safe urban air transport.<br><strong>Application:</strong> Air taxis, cargo drones, emergency rescue.<br><strong>Source:</strong> NASA</p>
        </div>
        <div class="card">
          <h3>Nancy Grace Roman Space Telescope</h3>
          <p>Wide-field infrared imaging, 200x larger than Hubble's IR camera.<br><strong>Application:</strong> Dark energy research, exoplanet detection.<br><strong>Source:</strong> NASA</p>
        </div>
        <div class="card">
          <h3>Space Communications & Navigation (SCaN)</h3>
          <p>Next-gen deep space communication (laser, auto-navigation).<br><strong>Application:</strong> Artemis lunar missions, Mars exploration.<br><strong>Source:</strong> NASA</p>
        </div>
        <div class="card">
          <h3>SWOT Satellite</h3>
          <p>Radar interferometry for precise water surface measurement.<br><strong>Application:</strong> Ocean, lake, river monitoring, disaster warning.<br><strong>Source:</strong> NASA</p>
        </div>
        <div class="card">
          <h3>IXPE X-ray Polarimetry Explorer</h3>
          <p>Measures X-ray polarization to reveal black holes and pulsars.<br><strong>Application:</strong> Astrophysics research.<br><strong>Source:</strong> NASA</p>
        </div>
      </div>
    </section>
    <!-- Interactive Section -->
    <section id="interactive">
      <h2>Interactive Zone</h2>
      <div class="grid">
        <div class="card">
          <h3>Q&A Module</h3>
          <p>Submit your aerospace questions and get expert or AI answers. <a href="https://www.nasachina.cn/forums" target="_blank">Join NASA Discussion Board</a></p>
        </div>
        <div class="card">
          <h3>Online Quiz</h3>
          <form id="quizForm">
            <p><strong>1. NASA's Curiosity rover used which technology to land on Mars?</strong></p>
            <label><input type="radio" name="q1" value="A">A. Sky crane maneuver</label><br>
            <label><input type="radio" name="q1" value="B">B. Parachute deceleration</label><br>
            <label><input type="radio" name="q1" value="C">C. Direct landing</label><br>
            <label><input type="radio" name="q1" value="D">D. Water landing</label><br>
            <button class="btn" type="button" onclick="checkQuiz()">Submit</button>
            <div id="quizResult"></div>
          </form>
        </div>
        <div class="card">
          <h3>DIY Experiment: Moon Phase Calendar</h3>
          <p>Learn to make your own moon phase calendar and calculator. <a href="https://www.nasachina.cn/pos/28340.html" target="_blank">DIY Guide</a></p>
        </div>
        <div class="card">
          <h3>3D Visualization: Asteroid Eyes</h3>
          <p>Explore near-Earth asteroids in 3D. <a href="https://www.nasachina.cn/pos/18302.html" target="_blank">Launch Tool</a></p>
        </div>
      </div>
    </section>
    <!-- Image/Video Gallery Section -->
    <section id="gallery">
      <h2>Image & Video Gallery</h2>
      <div class="grid">
        <div class="card">
          <img src="https://www.nasa.gov/wp-content/uploads/2024/10/black-hole-corona.jpg?w=1024" alt="IXPE Black Hole" style="width:100%;border-radius:8px;">
          <p>IXPE mission's "heartbeat black hole" illustration, showing high-energy plasma around a black hole.</p>
        </div>
        <div class="card">
          <img src="https://assets.science.nasa.gov/dynamicimage/assets/science/cds/citizen-science/highlights/2025/gigantic-jet-event.png?w=1024" alt="Gigantic Jet Event" style="width:100%;border-radius:8px;">
          <p>Gigantic jet phenomenon captured by NASA astronaut Nicole Ayers, a rare high-altitude discharge event.</p>
        </div>
        <div class="card">
          <img src="https://assets.science.nasa.gov/dynamicimage/assets/science/missions/webb/science/2025/webb-STScI-01K0FMETMS0VXZ8BNRCB205DKK-5K.tif?w=1024" alt="Webb Telescope" style="width:100%;border-radius:8px;">
          <p>James Webb Space Telescope's image of new exoplanets around nearby stars.</p>
        </div>
        <div class="card">
          <img src="https://www.nasa.gov/wp-content/uploads/2025/08/snsn.jpg?w=1024" alt="Roman Telescope" style="width:100%;border-radius:8px;">
          <p>Roman Space Telescope survey project illustration, tracking cosmic expansion history.</p>
        </div>
        <div class="card">
          <img src="https://assets.science.nasa.gov/dynamicimage/assets/science/missions/hubble/nebulae/emission/Hubble_30Dor_potw2531a.jpg?w=1024" alt="Tarantula Nebula" style="width:100%;border-radius:8px;">
          <p>Hubble Space Telescope's view of the Tarantula Nebula, a spectacular star-forming region.</p>
        </div>
        <div class="card">
          <img src="https://www.nasa.gov/wp-content/uploads/2025/08/1-pia26644-enhanced-web.jpg?w=1024" alt="Mars Panorama" style="width:100%;border-radius:8px;">
          <p>Perseverance Rover's high-definition panorama of Mars surface.</p>
        </div>
        <div class="card">
          <img src="https://assets.science.nasa.gov/dynamicimage/assets/science/psd/photojournal/pia/pia14/pia14011/jpeg/PIA14011.jpg?w=1024" alt="Moon Surface" style="width:100%;border-radius:8px;">
          <p>High-resolution image of the Moon's surface, showing resource distribution and geological features.</p>
        </div>
        <div class="card">
          <img src="https://www.nasa.gov/wp-content/uploads/2023/03/gpn-2001-000014.jpg?w=1041" alt="Apollo 11 Footprint" style="width:100%;border-radius:8px;">
          <p>Apollo 11 astronaut Buzz Aldrin's iconic footprint on the Moon, symbolizing humanity's first lunar landing.</p>
        </div>
        <div class="card">
          <img src="https://www.nasa.gov/wp-content/uploads/2023/06/42604134635-f3e0783737-o.jpg?w=2048" alt="Apollo 11 Experiment" style="width:100%;border-radius:8px;">
          <p>Apollo 11 astronaut Edwin E. Aldrin conducting scientific experiments on the lunar surface.</p>
        </div>
        <div class="card">
          <img src="https://images-assets.nasa.gov/image/GSFC_20171208_Archive_e001591/GSFC_20171208_Archive_e001591~large.jpg" alt="Earth Night" style="width:100%;border-radius:8px;">
          <p>NASA's "Black Marble" project image of Earth at night, showing global city lights.</p>
        </div>
        <div class="card">
          <img src="https://www.nasa.gov/wp-content/uploads/2025/05/54491190142-00f171b6dd-o.jpg?w=1024" alt="Spacewalk" style="width:100%;border-radius:8px;">
          <p>NASA astronaut on a spacewalk outside the International Space Station.</p>
        </div>
      </div>
      <h3>More Resources</h3>
      <ul>
        <li><a href="https://www.nasa.gov/image-of-the-day/" target="_blank">NASA Image of the Day</a></li>
        <li><a href="https://www.nasa.gov/gallery/nasa-spacewalkers/" target="_blank">NASA Spacewalkers Gallery</a></li>
        <li><a href="https://www.flickr.com/photos/nasacommons/" target="_blank">NASA Historical Photos (Flickr Commons)</a></li>
        <li><a href="https://images.nasa.gov/" target="_blank">NASA Official Image & Video Library</a></li>
      </ul>
    </section>
  </main>
  <footer>
    <div>Contact: info@aerospace-science.org | &copy; 2025 Aerospace Science | Powered by NASA, SpaceX, CNSA, ESA</div>
    <div class="social-icons">
      <a href="https://twitter.com/NASA" target="_blank"><img src="https://cdn-icons-png.flaticon.com/512/733/733579.png" alt="Twitter"></a>
      <a href="https://www.facebook.com/NASA/" target="_blank"><img src="https://cdn-icons-png.flaticon.com/512/733/733547.png" alt="Facebook"></a>
      <a href="https://www.youtube.com/user/NASAtelevision" target="_blank"><img src="https://cdn-icons-png.flaticon.com/512/733/733646.png" alt="YouTube"></a>
    </div>
    <div style="margin-top:1em;">
      <a href="https://www.nasa.gov/" target="_blank">NASA</a> |
      <a href="https://www.spacex.com/" target="_blank">SpaceX</a> |
      <a href="https://www.cmse.gov.cn/" target="_blank">CNSA</a> |
      <a href="https://www.esa.int/" target="_blank">ESA</a>
    </div>
  </footer>
  <script>
    // Simple search function (filters section titles)
    function searchSite() {
      var input = document.getElementById('searchInput').value.toLowerCase();
      var sections = document.querySelectorAll('main section');
      sections.forEach(function(sec) {
        if (input === '' || sec.innerText.toLowerCase().includes(input)) {
          sec.style.display = '';
        } else {
          sec.style.display = 'none';
        }
      });
    }
    // Simple quiz checker
    function checkQuiz() {
      var result = document.getElementById('quizResult');
      var q1 = document.querySelector('input[name="q1"]:checked');
      if (!q1) { result.innerHTML = '<span style="color:#B0BEC5;">Please select an answer.</span>'; return; }
      if (q1.value === 'A') {
        result.innerHTML = '<span style="color:#4CAF50;">Correct! Sky crane maneuver was used.</span>';
      } else {
        result.innerHTML = '<span style="color:#F44336;">Incorrect. The correct answer is A: Sky crane maneuver.</span>';
      }
    }
  </script>
</body>
</html>

